package com.njworkorder.DTO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class MenuAddDto {

    @Schema(description = "父id，一级菜单时为空，二级时填一级id，以此类推")
    private String parentId;

    @Schema(description = "菜单名称")
    private String title;

    @Schema(description = "文字大小")
    private Double fontSize;

    @Schema(description = "文字颜色")
    private String fontColor;

    @Schema(description = "跳转链接")
    private String jumpPath;

    @Schema(description = "图标路径")
    private String icon;

    @Schema(description = "是否是按钮")
    private Integer isButton;

    @Schema(description = "菜单英文名称")
    private String englishName;

    @Schema(description = "创建人")
    private String createApId;

    @Schema(description = "排序", example = "1为一级菜单，2为二级菜单，以此类推")
    private Integer sort;

    @Schema(description = "打开方式", example = "1、框架内打开 2、覆盖当前页 3、打开新标签页")
    private Integer openType;

    @Schema(description = "数据状态", example = "2为正常状态,6为冻结状态,8为失效状态")
    private String status;
}
